package com.informationsystem.service.impl;

import com.informationsystem.dao.PictureNewsDao;
import com.informationsystem.model.PictureNews;
import com.informationsystem.service.PictureNewsManager;
import com.informationsystem.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.jws.WebService;

@Service("pictureNewsManager")
@WebService(serviceName = "PictureNewsService", endpointInterface = "com.informationsystem.service.PictureNewsManager")
public class PictureNewsManagerImpl extends GenericManagerImpl<PictureNews, Long> implements PictureNewsManager {
    PictureNewsDao pictureNewsDao;

    @Autowired
    public PictureNewsManagerImpl(PictureNewsDao pictureNewsDao) {
        super(pictureNewsDao);
        this.pictureNewsDao = pictureNewsDao;
    }
}